package com.tsd.base.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * 往来单位
 *
 * @author Hillpool
 * @date 2024/04/29 16:09:33
 */
@ApiModel(description = "往来单位")
public class BaseRelatedParty implements Serializable {

    @ApiModelProperty(value = "自动增长的数字序号", example = "1")
    private Long id;

    @ApiModelProperty(value = "编程代码设置的uuid", example = "1")
    private String sid;

    @ApiModelProperty(value = "创建时间", example = "1")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
    private Date create_date;

    @ApiModelProperty(value = "创建人sid", example = "1")
    private String creator_sid;

    @ApiModelProperty(value = "创建人名称", example = "1")
    private String creator_name;

    @ApiModelProperty(value = "更新时间", example = "1")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
    private Date update_date;

    @ApiModelProperty(value = "更新人sid", example = "1")
    private String updator_sid;

    @ApiModelProperty(value = "更新人名称", example = "1")
    private String updator_name;

    @ApiModelProperty(value = "上级id", example = "1")
    private String parent_sid;

    @ApiModelProperty(value = "sys_group的sid，与creator_sid相关，保存时关联写入", example = "1")
    private String group_sid;

    @ApiModelProperty(value = "编码，本级编码", example = "1")
    private String code;

    @ApiModelProperty(value = "完整编码，逗号分隔形成多级编码", example = "1")
    private String full_code;

    @ApiModelProperty(value = "名称", example = "1")
    private String name;

    @ApiModelProperty(value = "排序", example = "1")
    private Integer sn;

    @ApiModelProperty(value = "状态，0-禁用，1-启用", example = "1")
    private Integer state;

    @ApiModelProperty(value = "删除标志，0-未删除，1-已删除", example = "1")
    private Integer dr;

    @ApiModelProperty(value = "删除时间", example = "1")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
    private Date dr_date;

    @ApiModelProperty(value = "删除人员sid", example = "1")
    private String dr_user_sid;

    @ApiModelProperty(value = "删除人名称 ", example = "1")
    private String dr_user_name;

    @ApiModelProperty(value = "备注", example = "1")
    private String note_info;

    @ApiModelProperty(value = "年份", example = "1")
    private Integer yyyy;

    @ApiModelProperty(value = "月份", example = "1")
    private Integer mm;

    @ApiModelProperty(value = "日期", example = "1")
    private Integer dd;

    @ApiModelProperty(value = "旬，1-上旬，2-中旬，3-下旬", example = "1")
    private Integer ten_days;

    @ApiModelProperty(value = "记录类型，0-目录，1-客户，2-供应商，3-客户/供应商", example = "1")
    private Integer rec_type;

    @ApiModelProperty(value = "主体类型：1-自然人，2-法人", example = "1")
    private Integer entity_kind;

    @ApiModelProperty(value = "简称", example = "1")
    private String short_name;

    @ApiModelProperty(value = "国家id", example = "1")
    private Long country_id;

    @ApiModelProperty(value = "国家名称", example = "1")
    private String country;

    @ApiModelProperty(value = "省份id", example = "1")
    private Long province_id;

    @ApiModelProperty(value = "省份", example = "1")
    private String province;

    @ApiModelProperty(value = "城市id", example = "1")
    private Long city_id;

    @ApiModelProperty(value = "城市", example = "1")
    private String city;

    @ApiModelProperty(value = "区/县id", example = "1")
    private Long district_id;

    @ApiModelProperty(value = "区/县", example = "1")
    private String district;

    @ApiModelProperty(value = "邮政编码", example = "1")
    private String post_code;

    @ApiModelProperty(value = "地址", example = "1")
    private String address;

    @ApiModelProperty(value = "法定代表人", example = "1")
    private String legal_person;

    @ApiModelProperty(value = "电话", example = "1")
    private String phone;

    @ApiModelProperty(value = "传真", example = "1")
    private String faxes;

    @ApiModelProperty(value = "开户银行", example = "1")
    private String bank_name;

    @ApiModelProperty(value = "银行账号", example = "1")
    private String bank_account_no;

    @ApiModelProperty(value = "银行开户名", example = "1")
    private String bank_user_name;

    @ApiModelProperty(value = "证件类型：身份证，营业执照", example = "1")
    private String license_type;

    @ApiModelProperty(value = "证件号码", example = "1")
    private String license_no;

    @ApiModelProperty(value = "证件地址", example = "1")
    private String license_address;

    @ApiModelProperty(value = "联系人姓名", example = "1")
    private String linker_name;

    @ApiModelProperty(value = "联系人电话", example = "1")
    private String linker_mobile;

    @ApiModelProperty(value = "联系地址", example = "1")
    private String linker_address;

    @ApiModelProperty(value = "联系邮箱", example = "1")
    private String linker_email;

    @ApiModelProperty(value = "合作开始日期", example = "1")
    @JsonFormat(pattern = "yyyy-MM-dd", locale = "zh", timezone = "GMT+8")
    private Date coop_begin_date;

    @ApiModelProperty(value = "下线客户数量", example = "1")
    private Integer child_qty;

    @ApiModelProperty(value = "客户层级", example = "1")
    private String level_id;

    @ApiModelProperty(value = "助记码", example = "1")
    private String search_code;


    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSid() {
        return this.sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public Date getCreate_date() {
        return this.create_date;
    }

    public void setCreate_date(Date create_date) {
        this.create_date = create_date;
    }

    public String getCreator_sid() {
        return this.creator_sid;
    }

    public void setCreator_sid(String creator_sid) {
        this.creator_sid = creator_sid;
    }

    public String getCreator_name() {
        return this.creator_name;
    }

    public void setCreator_name(String creator_name) {
        this.creator_name = creator_name;
    }

    public Date getUpdate_date() {
        return this.update_date;
    }

    public void setUpdate_date(Date update_date) {
        this.update_date = update_date;
    }

    public String getUpdator_sid() {
        return this.updator_sid;
    }

    public void setUpdator_sid(String updator_sid) {
        this.updator_sid = updator_sid;
    }

    public String getUpdator_name() {
        return this.updator_name;
    }

    public void setUpdator_name(String updator_name) {
        this.updator_name = updator_name;
    }

    public String getParent_sid() {
        return this.parent_sid;
    }

    public void setParent_sid(String parent_sid) {
        this.parent_sid = parent_sid;
    }

    public String getGroup_sid() {
        return this.group_sid;
    }

    public void setGroup_sid(String group_sid) {
        this.group_sid = group_sid;
    }

    public String getCode() {
        return this.code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getFull_code() {
        return this.full_code;
    }

    public void setFull_code(String full_code) {
        this.full_code = full_code;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSn() {
        return this.sn;
    }

    public void setSn(Integer sn) {
        this.sn = sn;
    }

    public Integer getState() {
        return this.state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getDr() {
        return this.dr;
    }

    public void setDr(Integer dr) {
        this.dr = dr;
    }

    public Date getDr_date() {
        return this.dr_date;
    }

    public void setDr_date(Date dr_date) {
        this.dr_date = dr_date;
    }

    public String getDr_user_sid() {
        return this.dr_user_sid;
    }

    public void setDr_user_sid(String dr_user_sid) {
        this.dr_user_sid = dr_user_sid;
    }

    public String getDr_user_name() {
        return this.dr_user_name;
    }

    public void setDr_user_name(String dr_user_name) {
        this.dr_user_name = dr_user_name;
    }

    public String getNote_info() {
        return this.note_info;
    }

    public void setNote_info(String note_info) {
        this.note_info = note_info;
    }

    public Integer getYyyy() {
        return this.yyyy;
    }

    public void setYyyy(Integer yyyy) {
        this.yyyy = yyyy;
    }

    public Integer getMm() {
        return this.mm;
    }

    public void setMm(Integer mm) {
        this.mm = mm;
    }

    public Integer getDd() {
        return this.dd;
    }

    public void setDd(Integer dd) {
        this.dd = dd;
    }

    public Integer getTen_days() {
        return this.ten_days;
    }

    public void setTen_days(Integer ten_days) {
        this.ten_days = ten_days;
    }

    public Integer getRec_type() {
        return this.rec_type;
    }

    public void setRec_type(Integer rec_type) {
        this.rec_type = rec_type;
    }

    public Integer getEntity_kind() {
        return this.entity_kind;
    }

    public void setEntity_kind(Integer entity_kind) {
        this.entity_kind = entity_kind;
    }

    public String getShort_name() {
        return this.short_name;
    }

    public void setShort_name(String short_name) {
        this.short_name = short_name;
    }

    public Long getCountry_id() {
        return this.country_id;
    }

    public void setCountry_id(Long country_id) {
        this.country_id = country_id;
    }

    public String getCountry() {
        return this.country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public Long getProvince_id() {
        return this.province_id;
    }

    public void setProvince_id(Long province_id) {
        this.province_id = province_id;
    }

    public String getProvince() {
        return this.province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public Long getCity_id() {
        return this.city_id;
    }

    public void setCity_id(Long city_id) {
        this.city_id = city_id;
    }

    public String getCity() {
        return this.city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public Long getDistrict_id() {
        return this.district_id;
    }

    public void setDistrict_id(Long district_id) {
        this.district_id = district_id;
    }

    public String getDistrict() {
        return this.district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public String getPost_code() {
        return this.post_code;
    }

    public void setPost_code(String post_code) {
        this.post_code = post_code;
    }

    public String getAddress() {
        return this.address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getLegal_person() {
        return this.legal_person;
    }

    public void setLegal_person(String legal_person) {
        this.legal_person = legal_person;
    }

    public String getPhone() {
        return this.phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getFaxes() {
        return this.faxes;
    }

    public void setFaxes(String faxes) {
        this.faxes = faxes;
    }

    public String getBank_name() {
        return this.bank_name;
    }

    public void setBank_name(String bank_name) {
        this.bank_name = bank_name;
    }

    public String getBank_account_no() {
        return this.bank_account_no;
    }

    public void setBank_account_no(String bank_account_no) {
        this.bank_account_no = bank_account_no;
    }

    public String getBank_user_name() {
        return this.bank_user_name;
    }

    public void setBank_user_name(String bank_user_name) {
        this.bank_user_name = bank_user_name;
    }

    public String getLicense_type() {
        return this.license_type;
    }

    public void setLicense_type(String license_type) {
        this.license_type = license_type;
    }

    public String getLicense_no() {
        return this.license_no;
    }

    public void setLicense_no(String license_no) {
        this.license_no = license_no;
    }

    public String getLicense_address() {
        return this.license_address;
    }

    public void setLicense_address(String license_address) {
        this.license_address = license_address;
    }

    public String getLinker_name() {
        return this.linker_name;
    }

    public void setLinker_name(String linker_name) {
        this.linker_name = linker_name;
    }

    public String getLinker_mobile() {
        return this.linker_mobile;
    }

    public void setLinker_mobile(String linker_mobile) {
        this.linker_mobile = linker_mobile;
    }

    public String getLinker_address() {
        return this.linker_address;
    }

    public void setLinker_address(String linker_address) {
        this.linker_address = linker_address;
    }

    public String getLinker_email() {
        return this.linker_email;
    }

    public void setLinker_email(String linker_email) {
        this.linker_email = linker_email;
    }

    public Date getCoop_begin_date() {
        return this.coop_begin_date;
    }

    public void setCoop_begin_date(Date coop_begin_date) {
        this.coop_begin_date = coop_begin_date;
    }

    public Integer getChild_qty() {
        return this.child_qty;
    }

    public void setChild_qty(Integer child_qty) {
        this.child_qty = child_qty;
    }

    public String getLevel_id() {
        return this.level_id;
    }

    public void setLevel_id(String level_id) {
        this.level_id = level_id;
    }

    public String getSearch_code() {
        return this.search_code;
    }

    public void setSearch_code(String search_code) {
        this.search_code = search_code;
    }

}
